package com.zyk.scaffold.user.controller.tenant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "TenantCreatInput", description = "租户创建入参")
public class TenantCreatRequest implements Serializable {

    private static final long serialVersionUID = 4644237849870965922L;

    @NotNull(message = "租户名称不能为空")
    @ApiModelProperty(value = "租户名称", required = true)
    private String name;

    @NotEmpty(message = "功能ID列表不能为空")
    @ApiModelProperty(value = "功能ID列表", required = true)
    private List<Long> functionIds;

    @ApiModelProperty(value = "初始管理员Id列表", required = true)
    private List<Long> adminUserIds;

    @ApiModelProperty(value = "内部租户账管理员Id列表", required = true)
    private List<Long> innerAdminUserIds;

    @ApiModelProperty(value = "初始管理员账号列表", required = true)
    private List<Long> administrators;

    @ApiModelProperty(value = "内部租户账管理员号列表", required = true)
    private List<Long> innerAdministrators;
}
